<%@ page language="java"  pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>读信息</title>
<%@include file="../common/jscss.jsp" %>
</head>

<body>
	<!-- head -->
	<%@include file="../common/header.jsp" %>
    <!-- head--end -->
    
    <!-- body -->
    <div class="content">
    	<div class="body_wrap clearfix">
            <div class="com_left">
            	<div class="com_pd_s1">
                	<div class="box_s2">
                    	<div class="title"><img src="images/other/icon_16.jpg" /><span>信息发布</span></div>
                        <div class="content">
                        	<table class="form_info">
                            	<tbody><tr>
                                	<td><div class="newstitle">
                                	<s:property value="news.title"/>
                                	</div></td>
                                </tr>
                                <tr>
                                	<td>
                                	<div class="newsdate">
                                	<s:date name="news.modifyDate" format="yyyy-MM-dd HH:mm" />
                                	<s:property value="news.categoryName"/>
                                	<s:if test="news.type == 1">政策</s:if>
                                	<s:if test="news.type == 2">信息</s:if>
                                	</div>
                                	<hr class="newshrtype1" />
                                	</td>
                                     
                                </tr>
                                <tr class="newsallp">
                                	<td>
                                	<p class="newscontent">
                                	<s:property value="news.brContent" escape="false"/>
                                	</p>
                                	 </td>
                                </tr>
                                <s:if test="news.attachList != null && news.attachList.size() > 0">
                                <tr class="newstr">
                                	<td>
                                	<div class="newsattiom">
                                    	<ul class="attach_list">
                                           <s:iterator id="attach" value="news.attachList" status="status">
                                    			<li><img src="images/other/attach.gif" /><a href="<s:property value="#request.basePath"/><s:property value="path"/>" target="_blank"><s:property value="name"/></a></li>
                                    		</s:iterator>
                            			</ul>
                            			
                            		</div></td>
                                </tr>
                                </s:if>
                                <tr class="newstr">
                                <td>
                                <div class="newsother">
                                <s:if test="preNews != null">
                                <p>上一篇：<a href="news!read.do?id=<s:property value="preNews.id"/>"><s:property value="preNews.title"/></a></p>
                                </s:if>
                                <s:if test="nextNews != null">
                                <p>下一篇：<a href="news!read.do?id=<s:property value="nextNews.id"/>"><s:property value="nextNews.title"/></a></p>
                                </s:if>
                                </div>
                                </td> 
                                </tr>
                            </tbody></table>
                            
                        </div>
                    </div>
                    
                </div>
            </div>
            
            <!-- right -->
           <%@include file="right.jsp" %> 
            <!--right--end-->
            <br class="clear">
        </div>
    </div>
    <%@include file="../common/footer.jsp" %>
    
    <script type="text/javascript">
    	function closeNews(){
    		window.location.href = "news!view.do";
    	}
    </script>
</body>
</html>
